Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Match connection string variable to test-resources override for communication samples #11826

Merged
merged 2 commits into from
Oct 15, 2020

Conversation

benbp
Copy link
Member

@benbp benbp commented Oct 14, 2020

The smoke tests are failing because the env variable override in test-resources.json injects a value for COMMUNICATION_CONNECTION_STRING, but most of the samples call for process.env["CONNECTION_STRING"]. This PR updates all samples and README docs to reference the longer, scoped connection string environment variable.

Azure/azure-sdk#1934

@weshaggard
Copy link
Member

@RezaJooyandeh @DominikMe can one of you guys please take a look and at these changes?

@benbp
Copy link
Member Author

benbp commented Oct 14, 2020

/azp run js - smoke-tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@RezaJooyandeh
Copy link
Member

@benbp does this affect the test pipelines that run the test in livemode?
CC: @turalf and @minnieliu

@minnieliu
Copy link
Member

/azp run js - communication-administration - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@minnieliu
Copy link
Member

/azp run js - communication-chat - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@minnieliu
Copy link
Member

@benbp does this affect the test pipelines that run the test in livemode?
CC: @turalf and @minnieliu
@RezaJooyandeh Triggering the live test pipeline manually still passed successfully.

@benbp
Copy link
Member Author

benbp commented Oct 15, 2020

@minnieliu @RezaJooyandeh now that the test is moving beyond the initial error, I'm seeing a 404 from the communication-sms sendSms.js test with the url that ends up getting constructed from test-resources.json: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=574949&view=logs&j=f3570516-c8fe-5ce9-92b2-b737df25d5ea&t=f7e12054-28e8-5a56-a94b-45551d60467c&l=1222

Do either of you have an idea of the issue here?

@RezaJooyandeh
Copy link
Member

RezaJooyandeh commented Oct 15, 2020

@turalf @DominikMe @0rland0Wats0n what was the decision for sendSms here? Are we disabling it for now till we have static resource setup?

@minnieliu @RezaJooyandeh now that the test is moving beyond the initial error, I'm seeing a 404 from the communication-sms sendSms.js test with the url that ends up getting constructed from test-resources.json: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=574949&view=logs&j=f3570516-c8fe-5ce9-92b2-b737df25d5ea&t=f7e12054-28e8-5a56-a94b-45551d60467c&l=1222

Do either of you have an idea of the issue here?

@turalf
Copy link

turalf commented Oct 15, 2020

@turalf @DominikMe @0rland0Wats0n what was the decision for sendSms here? Are we disabling it for now till we have static resource setup?

@minnieliu @RezaJooyandeh now that the test is moving beyond the initial error, I'm seeing a 404 from the communication-sms sendSms.js test with the url that ends up getting constructed from test-resources.json: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=574949&view=logs&j=f3570516-c8fe-5ce9-92b2-b737df25d5ea&t=f7e12054-28e8-5a56-a94b-45551d60467c&l=1222
Do either of you have an idea of the issue here?

Yes, for now it should be skipped. We will be creating telephony resources on demand as well in a test subscription. (I have started an email thread on this)

@benbp
Copy link
Member Author

benbp commented Oct 15, 2020

/azp run js - smoke-tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@benbp benbp force-pushed the benbp/smoke-test-communication-svc branch from 4d1bb1c to 2ebb5aa Compare October 15, 2020 20:12
@benbp
Copy link
Member Author

benbp commented Oct 15, 2020

The linux smoke tests are getting timed out, but the specific issues this PR addresses are fixed (https://dev.azure.com/azure-sdk/internal/_build/results?buildId=576644&view=logs&j=f3570516-c8fe-5ce9-92b2-b737df25d5ea&t=f7e12054-28e8-5a56-a94b-45551d60467c).

@benbp
Copy link
Member Author

benbp commented Oct 15, 2020

/check-enforcer override

@benbp benbp merged commit b77714c into master Oct 15, 2020
@benbp benbp deleted the benbp/smoke-test-communication-svc branch October 15, 2020 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants